package com.unittec.zk.provider.exam.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.unittec.zk.provider.exam.entity.ElRepo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface ElRepoMapper extends BaseMapper<ElRepo> {
    //获取题库分页
    Page<Map<String, Object>> getElRePoPage(Page<Object> page,@Param("ew") LambdaQueryWrapper<ElRepo> qw);


    /**
     * 更新统计数量
     * @param repoId
     */
    void refreshStat(@Param("repoId") String repoId);
}